# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class Audio(object):

    def __init__(self, codec=None, bitrate=None, sampleRate=None, channels=None, comfortable=None):
        """
        :param codec: (Optional) 音频编码。取值范围：aac
        :param bitrate: (Optional) 音频目标码率。取值范围：[8，1000]，单位为 Kbps
        :param sampleRate: (Optional) 音频采样率。取值范围：8000、11025、12000、16000、22050、24000、32000、44100、48000、64000、88200、96000
        :param channels: (Optional) 音频声道数：1、2
        :param comfortable: (Optional) 是否开启舒适音频：true、false
        """

        self.codec = codec
        self.bitrate = bitrate
        self.sampleRate = sampleRate
        self.channels = channels
        self.comfortable = comfortable
